package com.dmtt.web.service;

import com.dmtt.web.entity.*;
import com.github.pagehelper.PageInfo;
import org.springframework.http.ResponseEntity;

import java.util.List;

public interface ActivationService {
    //AGC稼动状况一览图图表导出
    List<Activation> activation(String page,String startTime,String endTime,String agvName);

    //AGC稼动状况一览图图表导出
    ResponseEntity<byte[]> activaExport(String page,String startTime, String endTime,  String agvName);

    List<Activation> faultAccumulation(ActivationVo activationVo);

    //AGC稼动状况推移图表
    List<ChangeGrain> changeGrain(String page, String startTime, String endTime, String agvName);


    ResponseEntity<byte[]> faultAccumulationExport(ActivationVo activationVo);

    List<Activation> faultPassing(ActivationVo activationVo);

    ResponseEntity<byte[]> faultPassingExport(ActivationVo activationVo);

    List<MovemontRate> movementRate(ActivationVo activationVo);

    ResponseEntity<byte[]> movementRateExport(ActivationVo activationVo);

    //AGC稼动状况推移图表导出
    ResponseEntity<byte[]> changeGrainExport(String page, String startTime, String endTime, String agvName);
    //AGC稼动状况推移图表导出
    ResponseEntity<byte[]> agcStatisticsExport( String startTime, String endTime, String agvName);

    PageInfo<AgcStatistics> AgcStatistic(String startTime, String endTime, String agvName, Integer currPage);

    //AGC稼动状况推移图表导出
    ResponseEntity<byte[]> agcAverageExport(String page,String startTime,String endTime,String agvName);


    List<AgvList> carList();

    List<String> yearCalendar(ActivationVo activationVo);

    List<String> yearCalendarQuery();
}
